package lee.vioson.remotedata.bean


import android.os.Parcel
import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 *Author:viosonlee
 *Date:2023/6/15
 *DESCRIPTION:
 */
data class HomeData(
    val recommendModule: Module?,
    val hotModule: Module?,
    val favoritesModule: Module?,
)  {

    data class Module(val moduleName: String?, val dataList: List<Book>?)  {
        val isNotEmpty: Boolean
            get() = !moduleName.isNullOrEmpty() && !dataList.isNullOrEmpty()
    }
}

